Optimal. Leaf size=312 \[ \frac{(b c-a d) (3 a d+5 b c) \log \left (-\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{8 \sqrt{2} c^{7/4} d^{9/4}}-\frac{(b c-a d) (3 a d+5 b c) \log \left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{8 \sqrt{2} c^{7/4} d^{9/4}}+\frac{(b c-a d) (3 a d+5 b c) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}\right )}{4 \sqrt{2} c^{7/4} d^{9/4}}-\frac{(b c-a d) (3 a d+5 b c) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}+1\right )}{4 \sqrt{2} c^{7/4} d^{9/4}}+\frac{\sqrt{x} (b c-a d)^2}{2 c d^2 \left (c+d x^2\right )}+\frac{2 b^2 \sqrt{x}}{d^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.709809, antiderivative size = 312, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 9, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375 \[ \frac{(b c-a d) (3 a d+5 b c) \log \left (-\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{8 \sqrt{2} c^{7/4} d^{9/4}}-\frac{(b c-a d) (3 a d+5 b c) \log \left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{8 \sqrt{2} c^{7/4} d^{9/4}}+\frac{(b c-a d) (3 a d+5 b c) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}\right )}{4 \sqrt{2} c^{7/4} d^{9/4}}-\frac{(b c-a d) (3 a d+5 b c) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}+1\right )}{4 \sqrt{2} c^{7/4} d^{9/4}}+\frac{\sqrt{x} (b c-a d)^2}{2 c d^2 \left (c+d x^2\right )}+\frac{2 b^2 \sqrt{x}}{d^2} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^2)^2/(Sqrt[x]*(c + d*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 96.4479, size = 291, normalized size = 0.93 \[ \frac{2 b^{2} \sqrt{x}}{d^{2}} + \frac{\sqrt{x} \left (a d - b c\right )^{2}}{2 c d^{2} \left (c + d x^{2}\right )} - \frac{\sqrt{2} \left (a d - b c\right ) \left (3 a d + 5 b c\right ) \log{\left (- \sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x} + \sqrt{c} + \sqrt{d} x \right )}}{16 c^{\frac{7}{4}} d^{\frac{9}{4}}} + \frac{\sqrt{2} \left (a d - b c\right ) \left (3 a d + 5 b c\right ) \log{\left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x} + \sqrt{c} + \sqrt{d} x \right )}}{16 c^{\frac{7}{4}} d^{\frac{9}{4}}} - \frac{\sqrt{2} \left (a d - b c\right ) \left (3 a d + 5 b c\right ) \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}} \right )}}{8 c^{\frac{7}{4}} d^{\frac{9}{4}}} + \frac{\sqrt{2} \left (a d - b c\right ) \left (3 a d + 5 b c\right ) \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}} \right )}}{8 c^{\frac{7}{4}} d^{\frac{9}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**2+a)**2/(d*x**2+c)**2/x**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.304361, size = 318, normalized size = 1.02 \[ \frac{\frac{\sqrt{2} \left (-3 a^2 d^2-2 a b c d+5 b^2 c^2\right ) \log \left (-\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{c^{7/4}}-\frac{\sqrt{2} \left (-3 a^2 d^2-2 a b c d+5 b^2 c^2\right ) \log \left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{c^{7/4}}+\frac{2 \sqrt{2} \left (-3 a^2 d^2-2 a b c d+5 b^2 c^2\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}\right )}{c^{7/4}}-\frac{2 \sqrt{2} \left (-3 a^2 d^2-2 a b c d+5 b^2 c^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}+1\right )}{c^{7/4}}+\frac{8 \sqrt [4]{d} \sqrt{x} (b c-a d)^2}{c \left (c+d x^2\right )}+32 b^2 \sqrt [4]{d} \sqrt{x}}{16 d^{9/4}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^2)^2/(Sqrt[x]*(c + d*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.023, size = 496, normalized size = 1.6 \[ 2\,{\frac{{b}^{2}\sqrt{x}}{{d}^{2}}}+{\frac{{a}^{2}}{2\,c \left ( d{x}^{2}+c \right ) }\sqrt{x}}-{\frac{ab}{d \left ( d{x}^{2}+c \right ) }\sqrt{x}}+{\frac{{b}^{2}c}{2\,{d}^{2} \left ( d{x}^{2}+c \right ) }\sqrt{x}}+{\frac{3\,\sqrt{2}{a}^{2}}{8\,{c}^{2}}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}+1 \right ) }+{\frac{\sqrt{2}ab}{4\,cd}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}+1 \right ) }-{\frac{5\,\sqrt{2}{b}^{2}}{8\,{d}^{2}}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}+1 \right ) }+{\frac{3\,\sqrt{2}{a}^{2}}{8\,{c}^{2}}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}-1 \right ) }+{\frac{\sqrt{2}ab}{4\,cd}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}-1 \right ) }-{\frac{5\,\sqrt{2}{b}^{2}}{8\,{d}^{2}}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}-1 \right ) }+{\frac{3\,\sqrt{2}{a}^{2}}{16\,{c}^{2}}\sqrt [4]{{\frac{c}{d}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) \left ( x-\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) ^{-1}} \right ) }+{\frac{\sqrt{2}ab}{8\,cd}\sqrt [4]{{\frac{c}{d}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) \left ( x-\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) ^{-1}} \right ) }-{\frac{5\,\sqrt{2}{b}^{2}}{16\,{d}^{2}}\sqrt [4]{{\frac{c}{d}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) \left ( x-\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) ^{-1}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^2+a)^2/(d*x^2+c)^2/x^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2/((d*x^2 + c)^2*sqrt(x)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.269569, size = 1497, normalized size = 4.8 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2/((d*x^2 + c)^2*sqrt(x)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**2+a)**2/(d*x**2+c)**2/x**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.238933, size = 524, normalized size = 1.68 \[ \frac{2 \, b^{2} \sqrt{x}}{d^{2}} - \frac{\sqrt{2}{\left (5 \, \left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d - 3 \, \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{c}{d}\right )^{\frac{1}{4}} + 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{c}{d}\right )^{\frac{1}{4}}}\right )}{8 \, c^{2} d^{3}} - \frac{\sqrt{2}{\left (5 \, \left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d - 3 \, \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{c}{d}\right )^{\frac{1}{4}} - 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{c}{d}\right )^{\frac{1}{4}}}\right )}{8 \, c^{2} d^{3}} - \frac{\sqrt{2}{\left (5 \, \left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d - 3 \, \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )}{\rm ln}\left (\sqrt{2} \sqrt{x} \left (\frac{c}{d}\right )^{\frac{1}{4}} + x + \sqrt{\frac{c}{d}}\right )}{16 \, c^{2} d^{3}} + \frac{\sqrt{2}{\left (5 \, \left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d - 3 \, \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )}{\rm ln}\left (-\sqrt{2} \sqrt{x} \left (\frac{c}{d}\right )^{\frac{1}{4}} + x + \sqrt{\frac{c}{d}}\right )}{16 \, c^{2} d^{3}} + \frac{b^{2} c^{2} \sqrt{x} - 2 \, a b c d \sqrt{x} + a^{2} d^{2} \sqrt{x}}{2 \,{\left (d x^{2} + c\right )} c d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2/((d*x^2 + c)^2*sqrt(x)),x, algorithm="giac")
[Out]